<template>
	<view class="scroll">
		<scroll-view  class="list-scroll" scroll-y>
			<view>
				<!-- 插槽 -->
				<slot></slot>
				<!-- <view v-for="item in 100">{{item}}卡片内容</view>	 -->		
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		name:"list-scroll",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.scroll{
			flex:1;		
			overflow: hidden;	
			box-sizing: border-box;
			.list-scroll{
				height: 100%;		
				display: flex;						
				flex-direction: column;
			}
		}
		
</style>
